package com.zhanghe.security.service;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 * SimpleUserDetailsService
 *
 * @author Clevo
 * @date 2018/8/1
 */
public interface SimpleUserDetailsService extends UserDetailsService {

    UserDetails loadUserByGithubId(Integer id) throws UsernameNotFoundException;
}
